package org.jeecg.modules.util;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;

public class ReadLocalHTMLFile {

    public static void main(String[] args) {
        File file = new File("D:\\project\\nike_project\\[2025-01-12]体育老师的诗丨周晨光野蛮其体魄文明其精神.html");

        try (BufferedReader reader = new BufferedReader(new FileReader(file))) {
            String line;
            StringBuilder content = new StringBuilder();

            while ((line = reader.readLine()) != null) {
                content.append(line);
            }

            System.out.println(content.toString());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}